﻿@model IEnumerable<MVCTutorial.Core.Model.User>

<table style="width: 500px;">
    
	<tr>
        <th>Usuário</th><th style="width: 20px;">Excluir</th>
    </tr>

@foreach (var item in Model) 
{
    <tr>
        <td>
			@Html.ActionLink(item.Name, "Edit", new { id=item.Id })
        </td>
        <td style="text-align: center;">
			<a href="javascript:;" class="del-user" target="@item.Id">[ X ]</a>
        </td>
    </tr>
}

</table>

<script type="text/javascript">
	$(function () {
		
	});
</script>